<nz-avatar
  *ngIf="organization.profileImagePath; else noAvatar"
  [nzSrc]="organization.profileImagePath"
  [nzShape]="shape ? shape : 'circle'"
  [nzSize]="size">
</nz-avatar>
<ng-template #noAvatar>
  <nz-avatar
    [nzShape]="shape ? shape : 'circle'"
    [nzText]="organization.name"
    [nzSize]="size"></nz-avatar>
</ng-template>
